package org.xawl.news.dao.user;

import java.util.List;

import org.xawl.news.entity.user.User;

public interface UserDao {

	/**
	 * 根据用户名或密码查询当前用户
	 */
	public User findByUsernameAndPwd(String username, String password);

	/**
	 * 添加用户
	 * @param user
	 * @return
	 */
	public boolean save(User user);

	
	public List<User> findList();

	public int findCout();
}
